package structure.decorator;

/**
 * @author dali
 * @date 2021-07-16 18:01
 * @Description 调味装饰
 */

public abstract class DecoratorSpice implements ICoffee{
    private ICoffee coffee;
    public DecoratorSpice(ICoffee coffee) {
        this.coffee = coffee;
    }
    @Override
    public void getCoffee() {
        coffee.getCoffee();
    }
}
